package org.wsdx.Entity;

import java.io.Serializable;
import java.util.Date;
/**
 * 评论类
 * @author 1020429932
 *
 */
public class Comment implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String id;
	private int type;//0表示对店铺评价 1表示对菜品评价
	private String content;//评价内容
	private Date time;//评价时间
	private Dishes dishes;//评价菜品 当 type为0时  此项为空
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public Dishes getDishes() {
		return dishes;
	}
	public void setDishes(Dishes dishes) {
		this.dishes = dishes;
	}
	
}
